package com.hbnu.test;


import com.hbnu.dao.StudentDao;
import com.hbnu.pojo.Student;

public class JDBCDemo01 {


    public static void main(String[] args) {
        Student stu = new Student("zhaoliu",1,"000");

        Student rs = new StudentDao().login(stu);

        if (rs == null){
            System.out.println("查无此人！！");
        }else System.out.print(rs.toString());
    }
}